# %%
from pathlib import Path
strName = "aaaaaaaaaaaaaaaaaaaaaaaaaaaa.txt"
sourceFile = Path(strName)
newName = [*Path("C:/").glob("*port*")][0] / strName
if sourceFile.exists():
    sourceFile.rename(newName)
else:
    print("file not found.")
# %%
